import request from '@/utils/request'

export function selectServeTypeList(query) {
    return request({
        url:"/serveType/list",
        method:"get",
        params:query
    })
  }


export function addServeType(data) {
    return request({
        url:"/serveType/addServeType",
        method:"post",
        data:data
    })
  }


export function updateServeType(data) {
  return request({
      url:"/serveType/updateServeType",
      method:"put",
      data:data
  })
}


  export function deleteServeType(id) {
    return request({
        url:"/serveType/"+id,
        method:"delete"
    })
  }
  export function getRegCount() {
    return request({
        url:"/serveType/getRegCount",
        method:"get",
    })
  }